package com.source.barcodeMachineStatus.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author fengq
 */
@Data
@ApiModel(value="BarcodeMachineStatusVo对象", description="信息展示类")
@AllArgsConstructor
@NoArgsConstructor
public class BarcodeMachineStatusVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角标机监控表的id")
    @TableField(value = "id")
    private String id;

    @ApiModelProperty(value = "脚标机编号")
    @TableField("barcodeMachineNumber")
    private String barcodeMachineNumber;

    @ApiModelProperty(value = "登录时间")
    @TableField("loginDate")
    private Date loginDate;

    @ApiModelProperty(value = "在线状态(0:离线，1:正常，2：卡纸，3：缺纸)")
    private String state;

    @ApiModelProperty(value = "条码剩余数量")
    @TableField("barcodeSurplus")
    private Integer barcodeSurplus;

    @ApiModelProperty(value = "用户名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "下线时间")
    @TableField("offlineTime")
    private Date offlineTime;

    @ApiModelProperty(value = "用户Id")
    @TableField(value = "userId")
    private String userId;

    @ApiModelProperty(value = "创建者")
    @TableField("loginName")
    private String loginName;

    @ApiModelProperty(value = "档口信息列表")
    @TableField(exist = false,value = "stallsMessageVoPage")
    private Page<StallsMessageVo> stallsMessageVoPage;


}
